package cn.mw.cmdb.virtualization.dto.unicloud;

import cn.mw.cmdb.virtualization.annotations.VirtualizationAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author gengjb
 * @description 紫光云虚拟交换机dto
 * @date 2024/11/17 11:52
 */
@Getter
@Setter
@Schema(name = "UniCloudVsWitchDto", description = "紫光云虚拟交换机dto")
public class UniCloudVsWitchDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主机ID")
    private String hostId;

    @Schema(description = "服务器ID")
    private Integer serverId;

    @Schema(description = "实例ID")
    private String instanceId;

    @Schema(description = "类型")
    private String vmType;

    @Schema(description = "IP地址")
    private String inBandIp;

    @Schema(description = "实例名称")
    private String instanceName;

    @Schema(description = "网络类型")
    private String netWorkType;

    @Schema(description = "物理接口")
    private String physics;

    @Schema(description = "子网掩码")
    private String subnetMask;

    @Schema(description = "网关")
    private String gateway;

    @Schema(description = "转发模式")
    private String forwardingMode;

    @VirtualizationAlias(itemName = "MWVM_STATUS",describe = "状态")
    private String status;

    @VirtualizationAlias(itemName = "vSwitch BandWidth",describe = "vSwitch带宽")
    private String vSwitchBandWidth;
}
